﻿using System.Windows;
using System.Windows.Controls;

namespace Lottery.Client.SL.Controls
{
    public partial class DealMsg : UserControl
    {
        private bool fXRyS7yrxI;
        public DealMsg(MsgInfo mi)
        {
            this.InitializeComponent();
            this.bt_close.Click += (new RoutedEventHandler(this.aC3y4uup7v));
            base.DataContext = (mi);
            this.lbContent.Text = (this.cbgyChsM6R(mi.Content));
        }
        private void aC3y4uup7v(object obj, RoutedEventArgs routedEventArgs)
        {
            if (base.Parent != null && base.Parent is Panel)
            {
                (base.Parent as Panel).Children.Remove(this);
            }
        }
        private string cbgyChsM6R(string text)
        {
            //text = text.Replace(BcZJxKMIDcH0kvSFls.w4WekCpilj(12014), BcZJxKMIDcH0kvSFls.w4WekCpilj(12030));
            //text = Regex.Replace(text, BcZJxKMIDcH0kvSFls.w4WekCpilj(12038), "");
            return text;
        }

    }
}
